<?php
if($_SESSION["nickname"]){
    echo "欢迎:".$_SESSION["nickname"];
    echo "<br>";
    echo "<a href=\"/day04/delete.php\">退出</a>";
}else{
    echo "<a href=\"/day04/login.php\">登录</a>";
}

?>
